/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package pkg23designpatterns.za.ac.cput.creational.builderPattern;

/**
 *
 * @author Oceanwave
 */
public class JapaneseMealBuilder implements MealBuilder
{
        private Meal meal;

        public JapaneseMealBuilder()
        {
            meal = new Meal();
        }

        @Override
        public void buildDrink() {
            meal.setDrink("sake");
        }

        @Override
        public void buildMainCourse() {
            meal.setMaincourse("chicken teriyaki");
        }

        @Override
        public void buildSide() {
            meal.setSide("miso soup");
        }

        @Override
        public Meal getMeal() 
        {
            return meal;
        }
}
